const menuList = [
    {
        name: '高级组件',
        path: '/ProComponent',
        icon: 'user',
        meta: {
            title: '高级组件'
        },
        children: [
            {
                path: '/ProComponent/ProTable',
                name: '高级表格 ProTable',
                meta: {
                    title: '高级表格 ProTable',
                    auth: true
                }
            },
            {
                path: '/ProComponent/Calendar',
                name: '日历 Calendar',
                meta: {
                    title: '日历 Calendar',
                    auth: true
                }
            }
        ]
    },
    {
        name: '权限页面',
        path: '/Role',
        icon: 'setting',
        meta: {
            title: '权限页面'
        },
        children: [
            {
                path: '/Role/Admin',
                name: 'admin 页面',
                meta: {
                    permission: ['admin'],
                    title: 'admin 页面',
                    auth: true
                },
            },
            {
                name: 'user 页面',
                path: '/Role/User',
                meta: {
                    permission: ['user', 'admin'],
                    title: 'user 页面',
                    auth: true
                },
            },
            {
                name: 'house 页面',
                path: '/Role/House',
                meta: {
                    permission: ['house', 'admin'],
                    title: 'house 页面',
                    auth: true
                },
            }
        ]
    },
    {
        name: '错误页面',
        path: '/Errors',
        icon: 'desktop',
        meta: {
            title: '错误页面'
        },
        children: [
            {
                path: '/Errors/404',
                name: '404 页面',
                meta: {
                    title: '404 页面'
                }
            },
            {
                path: '/Errors/403',
                name: '403 页面',
                meta: {
                    title: '403 页面'
                }
            },
            {
                path: '/Errors/500',
                name: '500 页面',
                meta: {
                    title: '500 页面'
                }
            },
        ]
    },
    {
        name: '个人页',
        path: '/My',
        icon: 'user',
        meta: {
            title: '个人页'
        },
        children: [
            {
                path: '/My/Info',
                name: '个人中心',
                meta: {
                    auth: true,
                    title: '个人中心'
                }
            }
        ]
    },
    {
        name: '系统管理',
        path: '/System',
        icon: 'setting',
        meta: {
            title: '系统管理'
        },
        children: [
            {
                path: '/System/User',
                name: '用户管理',
                meta: {
                    auth: true,
                    permission: ['admin'],
                    title: '用户管理'
                }
            },
            {
                path: '/System/Components',
                name: 'https://pangzablog.cn',
                meta: {
                    auth: true,
                    permission: ['admin'],
                    title: '组件管理'
                }
            }
        ]
    }
]

export default menuList;